import useRequest from '@/utils/request'

const request = useRequest({})
//新增评论回复
export function addReplyEvaluate(data: any) {
  return request.post('/cj-stadium/sys/reply/evaluate/addReplyEvaluate', data)
}

//根据id删除回复
export function delReplyEvaluateById(id: string | number) {
  return request.post('/cj-stadium/sys/reply/evaluate/delReplyEvaluateById/' + id)
}

//  根据评论id获取回复列表
export function getReplyList(evaluateId: string | number) {
  return request.get(`/cj-stadium/sys/reply/evaluate/getReplyEvaluateByUserId/${evaluateId}`)
}